<%@ page import="com.qianfeng.entity.User" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/7/24 0024
  Time: 14:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title> hAdmin- 主页</title>

    <meta name="keywords" content="">
    <meta name="description" content="">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <%
        User user = (User) session.getAttribute("USER");
    %>
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs" style="font-size:20px;">
                                       <!-- <i class="fa fa-area-chart"></i> -->
                                        <strong class="font-bold">疫情大数据分析</strong>
                                    </span>
                                </span>
                        </a>
                    </div>
                    <div class="logo-element">
                        <i class="fa fa-area-chart"></i>
                    </div>
                </li>

                <li>
                    <a class="J_menuItem" href="index_v1.jsp">
                        <i class="fa fa-home"></i>
                        <span class="nav-label">国内实时报告</span>
                    </a>
                </li>
                <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                    <span class="ng-scope">省级行政单位</span>
                </li>
                <!--安徽省-->
                <li>
                    <a class="J_menuItem" href="page/province.jsp?province=安徽&py=AnHui">
                        <i class="fa fa fa-bar-chart-o" ></i>
                        <span class="nav-label">安徽省</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li style="display: none">
                            <a class="J_menuItem" href="page/province.jsp?province=安徽&py=AnHui">省内情况概览</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=合肥&province=安徽&py=HeFei">合肥市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=芜湖&province=安徽&py=WuHu2">芜湖市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=蚌埠&province=安徽&py=BengBu">蚌埠市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=淮南&province=安徽&py=HuaiNan">淮南市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=马鞍山&province=安徽&py=MaAnShan">马鞍山市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=淮北&province=安徽&py=HuaiBei">淮北市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=铜陵&province=安徽&py=TongLing">铜陵市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=安庆&province=安徽&py=AnQing">安庆市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=淮南&province=安徽&py=HuaiNan">黄山市</a>
                        </li>
                    </ul>
                </li>
                <!--江苏省-->
                <li>
                    <a class="J_menuItem" href="page/province.jsp?province=江苏&py=JiangSu">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">江苏省</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li style="display: none">
                            <a class="J_menuItem" href="page/province.jsp?province=江苏&py=JiangSu">省内情况概览</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=南京&province=江苏&py=NanJing">南京市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=无锡&province=江苏&py=WuXi">无锡市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=苏州&province=江苏&py=SuZhou">苏州市</a>
                        </li>
                    </ul>
                </li>
                <!--浙江省-->
                <li>
                    <a class="J_menuItem" href="page/province.jsp?province=浙江&py=ZheJiang">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">浙江省</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li style="display: none">
                            <a class="J_menuItem" href="page/province.jsp?province=浙江&py=ZheJiang">省内情况概览</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=杭州&province=浙江&py=HangZhou">杭州市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=嘉兴&province=浙江&py=JiaXing">嘉兴市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=宁波&province=浙江&py=NingBo">宁波市</a>
                        </li>
                    </ul>
                </li>
                <!--山东省-->
                <li>
                    <a class="J_menuItem" href="page/province.jsp?province=山东&py=ShanDong">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">山东省</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li style="display: none">
                            <a class="J_menuItem" href="page/province.jsp?province=山东&py=ShanDong">省内情况概览</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=济南&province=山东&py=JiNan">济南市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=青岛&province=山东&py=QingDao">青岛市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=淄博&province=山东&py=ZiBo">淄博市</a>
                        </li>
                    </ul>
                </li>
                <!--河南省-->
                <li>
                    <a class="J_menuItem" href="page/province.jsp?province=河南&py=HeNan">
                        <i class="fa fa fa-bar-chart-o"></i>
                        <span class="nav-label">河南省</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li style="display: none">
                            <a class="J_menuItem" href="page/province.jsp?province=河南&py=HeNan">省内情况概览</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=郑州&province=河南&py=ZhengZhou">郑州市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=开封&province=河南&py=KaiFeng">开封市</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="page/district.jsp?city=洛阳&province=河南&py=LuoYang">洛阳市</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->


    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-info " href="#"><i class="fa fa-bars"></i> </a>
                    <form role="search" class="navbar-form-custom" method="post" action="search_results.html">
                        <div class="form-group">
                            <input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">
                        </div>
                    </form>
                </div>
                <ul class="nav navbar-top-links navbar-right" style="margin-right: 25px">
                    <li class="dropdown">
                        <div>
                            <a href="#">
                                <%
                                    if(null != user)
                                        out.print("<img  width='30' height='30' alt='image' class='img-circle' src='" + user.getHeadImage() + "'>");
                                %>
                            </a>
                        </div>
                    </li>

                    <li class="dropdown" style='<%= user != null ? "" : "display: none" %>'>
                        <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                            <i class="fa fa-envelope"></i> <span class="label label-warning">16</span>
                        </a>
                        <ul class="dropdown-menu dropdown-messages">
                            <li class="m-t-xs">
                                <div class="dropdown-messages-box">
                                    <a href="profile.html" class="pull-left">
                                        <img alt="image" class="img-circle" src="img/a7.jpg">
                                    </a>
                                    <div class="media-body">
                                        <small class="pull-right">46小时前</small>
                                        <strong>小四</strong> 是不是只有我死了,你们才不骂爵迹
                                        <br>
                                        <small class="text-muted">3天前 2014.11.8</small>
                                    </div>
                                </div>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <div class="dropdown-messages-box">
                                    <a href="profile.html" class="pull-left">
                                        <img alt="image" class="img-circle" src="img/a4.jpg">
                                    </a>
                                    <div class="media-body ">
                                        <small class="pull-right text-navy">25小时前</small>
                                        <strong>二愣子</strong> 呵呵
                                        <br>
                                        <small class="text-muted">昨天</small>
                                    </div>
                                </div>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <div class="text-center link-block">
                                    <a class="J_menuItem" href="mailbox.html">
                                        <i class="fa fa-envelope"></i> <strong> 查看所有消息</strong>
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown" style='<%= user != null ? "" : "display: none" %>'>
                        <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                            <i class="fa fa-bell"></i> <span class="label label-primary">8</span>
                        </a>
                        <ul class="dropdown-menu dropdown-alerts">
                            <li>
                                <a href="mailbox.html">
                                    <div>
                                        <i class="fa fa-envelope fa-fw"></i> 您有16条未读消息
                                        <span class="pull-right text-muted small">4分钟前</span>
                                    </div>
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="profile.html">
                                    <div>
                                        <i class="fa fa-qq fa-fw"></i> 3条新回复
                                        <span class="pull-right text-muted small">12分钟钱</span>
                                    </div>
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <div class="text-center link-block">
                                    <a class="J_menuItem" href="notifications.html">
                                        <strong>查看所有 </strong>
                                        <i class="fa fa-angle-right"></i>
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </li>

                    <li class="dropdown" style='<%= user == null ? "" : "display: none" %>'>
                        <a id="a_login" onclick="jframeGo('${pageContext.request.contextPath}/login.jsp')">登陆</a>
                    </li>

                    <li class="dropdown" style='<%= user == null ? "" : "display: none" %>'>
                        <a id="a_reg" onclick="jframeGo('${pageContext.request.contextPath}/register.jsp')">注册</a>
                    </li>

                </ul>
            </nav>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe id="J_iframe" width="100%" height="100%" src="index_v1.jsp?v=4.0" frameborder="0" data-id="index_v1.html" seamless></iframe>
        </div>
    </div>
    <!--右侧部分结束-->
</div>

<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="js/plugins/layer/layer.min.js"></script>

<!-- 自定义js -->
<script src="js/hAdmin.js?v=4.1.0"></script>
<script type="text/javascript" src="js/index.js"></script>

<!-- 第三方插件 -->
<script src="js/plugins/pace/pace.min.js"></script>

<script>
    function jframeGo(urlStr) {
        document.getElementById("J_iframe").src = urlStr;
    }

    // $(document).ready(function(){
    //
    // });
</script>

</body>

</html>
